package com.kgc.scd.service;

import com.kgc.scd.bean.Order;
import com.kgc.scd.bean.OrderItem;
import com.kgc.scd.bean.Product;
import com.kgc.scd.bean.Seckill;

import java.util.List;

/**
 * Created On : 2022/6/15.
 * <p>
 * Author     : 98730
 * <p>
 * Description: 下单业务接口
 */
public interface PlaceOrderService {

    boolean modOrderDetail(Order order);

    boolean modProductDetail(Product product);

    List<OrderItem> queryOrderItemByOrderId(String orderId);

    Product queryProductByProId(String proId);

    Seckill querySeckillProductByProId(String proId);

    boolean modSeckillDetail(Seckill seckill);

    Order queryOrder(String orderId);
}
